<ion-view view-title="用户列表" cache-view="true">
  <ion-nav-buttons side="left">
    <button class="button button-clear ion-chevron-left button-positive" ng-click="goBack()">
      返回
    </button>
  </ion-nav-buttons>
  <ion-nav-buttons side="right">
    <button class="button button-clear button-positive" ng-click="openModal()">
      过滤
    </button>
  </ion-nav-buttons>
  <div class="bar bar-header item-input-inset bar-subheader" no-scroll="true">
    <label class="item-input-wrapper">
      <i class="icon ion-ios-search placeholder-icon"></i>
      <input type="search" placeholder="搜索" ng-model="keyword">
    </label>
  </div>
  <ion-content class="has-header has-subheader" scroll="true">
    <ul class="list">
      <li class="item" collection-repeat="user in users | groupfilter:groupkeyword | filter:keyword"
          ng-click="giveToUser(user)">
        <a class="size16">{{user.empname}}</a>
      </li>
    </ul>
  </ion-content>
</ion-view>
